package com.yanjiali.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
* @Package: com.yanjiali.entity
* @Author: yanjiali
* @Created: 2025/4/26 19:43
*/
/**
 * 二级收藏夹表
 */
@ApiModel(value="com-yanjiali-entity-SecondLevelCollect")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "second_level_collect")
public class SecondLevelCollect {
    /**
     * 唯一索引
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value="唯一索引")
    private Long id;

    /**
     * 对应二级收藏夹名称
     */
    @TableField(value = "title")
    @ApiModelProperty(value="对应二级收藏夹名称")
    private String title;

    /**
     * 对应一级收藏夹id
     */
    @TableField(value = "collect_id")
    @ApiModelProperty(value="对应一级收藏夹id")
    private Integer collectId;

    /**
     * 对应二级收藏夹所属的用户
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value="对应二级收藏夹所属的用户")
    private Long userId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;
}